import request from '@/utils/request'

export function fetchList(params) {
  return request({
    url: '/admin123/coding/a1templatecolumn/queryListBySearch',
    method: 'get',
    params
  })
}

export function updateApi(data) {
  return request({
    url: '/admin123/coding/a1templatecolumn/editData',
    method: 'POST',
    data
  })
}

export function removeApi(params) {
  return request({
    url: '/admin123/coding/a1templatecolumn/removeData',
    method: 'POST',
    params
  })
}

export function autoAddColumnApi(params) {
  return request({
    url: '/admin123/template/templateAjax_loadColumn',
    method: 'POST',
    params
  })
}

